#pragma once
#include "enemy.h"
#include "RenderHelper.h"
#include "tiles.h"
#include "player.h"
#include "SoundPlayer.h"

class CApple :
	public CEnemy
{
public:
	CApple(void);
	~CApple(void);
	double ySpeed;


	void Update();
	void Draw(HDC graphics);
	void Init(int worldX, int worldY, CPlayer* playerPtr, Tiles* tiles);
	void Init(int worldX, int worldY, CPlayer* playerPtr, Tiles* tilesPtr, int maxFallDistance);

	Tiles* tiles;
	CPlayer* player;

	HANDLE hImageDead;
private:
	bool dropping;
};
